package com.liujit.generator.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description 表字段信息
 * @Author LiuJun
 * @Date 2020/8/13 3:12 下午
 */
@Data
@ApiModel(value = "FieldInfo", description = "表字段信息")
public class FieldInfo {

    @ApiModelProperty(value = "字段名字")
    private String propertyName;

    @ApiModelProperty(value = "表字段名字")
    private String name;

    @ApiModelProperty(value = "字段类型")
    private String type;

    @ApiModelProperty(value = "字段注释")
    private String comment;

    @ApiModelProperty(value = "字符串长度")
    private Long len;
}
